import React from 'react';
import * as PropTypes from 'prop-types'

import {Util} from '..';
import {MapContext} from '../Context';

class Layers extends React.Component {
  static defaultProps = {

  };
  constructor(props) {
    super(props);
    this.state = {

    };
    this.options = {

    }
  }

  componentDidMount() {
    this.init();
  }

  init = () => {
    Util.updateOptions(this.options,this.props)
  };

  render() {
    return (
      <div >
        {this.props.children}
      </div>
    );
  }
}
Layers.propTypes = {

}
Layers.contextType = MapContext;
export default Layers;

